import {
  queryLogList,
} from '../services/demo'

export default {
  namespace: 'demo',
  state: {

  },
  effects: {
    *queryLogList({ payload }, { call }) {
      const data = yield call(queryLogList, payload)
      return data
    },
  },
  reducers: {
    setState(state, action) {
      return {
        ...state,
        ...action.payload,
      }
    },
  },
}
